package demo2;

public class Money implements Cloneable{
    public double money=9.9;

    @Override
    protected Object clone() throws CloneNotSupportedException {//1.重写父类得方法
        return super.clone();
    }
}
